Skip to content

Bump 2.2.5#401

Merged
robotpilot merged 5 commits into
humblefrom
main
Jun 4, 2025
Merged

Bump 2.2.5#401
robotpilot merged 5 commits into
humblefrom
main

Conversation

@robotpilot

Copy link
Copy Markdown
Member

No description provided.

ijnek and others added 5 commits May 22, 2025 03:04
Signed-off-by: ijnek <kenjibrameld@gmail.com>
use modern cmake to do target-based installation
Signed-off-by: Wonho Yun <ywh@robotis.com>
Signed-off-by: Wonho Yun <ywh@robotis.com>
Deprecate ament_include_dependency usage in CMakeLists.txt
@robotpilot robotpilot self-assigned this Jun 4, 2025
@robotpilot robotpilot added the bump Increase the version number to release label Jun 4, 2025

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @robotpilot, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

Summary of Changes

Hello! Gemini here, providing a summary of this pull request. This PR primarily focuses on bumping the version of the dynamixel_workbench and dynamixel_workbench_toolbox packages to 2.2.5. Alongside the version update, it includes significant cleanup of the build system configuration (CMakeLists.txt and package.xml) for the dynamixel_workbench_toolbox package. Specifically, it removes an unused dependency on rclcpp and updates the CMake build commands to use standard CMake functions (target_include_directories, target_link_libraries, install, ament_export_targets) instead of the deprecated ament_target_dependencies and related ament_export_* macros, which is a common practice for modernizing ROS 2 packages, especially in newer distributions like Kilted.

Highlights

  • Version Bump: The version of both dynamixel_workbench and dynamixel_workbench_toolbox packages has been updated from 2.2.4 to 2.2.5.
  • Dependency Removal: An unused dependency on rclcpp has been removed from the dynamixel_workbench_toolbox package's CMakeLists.txt and package.xml.
  • Build System Modernization: The CMakeLists.txt for dynamixel_workbench_toolbox has been refactored to replace deprecated ament_target_dependencies and ament_export_* macros with standard CMake commands (target_include_directories, target_link_libraries, install, ament_export_targets) for better compatibility and adherence to modern CMake practices, particularly relevant for ROS 2 distributions like Kilted.
  • Changelog Updates: Changelog files (CHANGELOG.rst) for both packages have been updated to include the changes for version 2.2.5 and fix a typo ('Contributoers' to 'Contributors') in previous entries.
  • Maintainer Update: The maintainer listed in dynamixel_workbench_toolbox/library.properties has been updated.

Changelog

Click here to see the changelog
  • dynamixel_workbench/CHANGELOG.rst
    • Added entry for version 2.2.5, noting the removal of unused rclcpp dependency and deprecated ament_target_dependencies.
    • Corrected typo 'Contributoers' to 'Contributors' in previous entries.
  • dynamixel_workbench/package.xml
    • Updated package version to 2.2.5.
  • dynamixel_workbench_toolbox/CHANGELOG.rst
    • Added entry for version 2.2.5, noting the removal of unused rclcpp dependency and deprecated ament_target_dependencies.
    • Corrected typo 'Contributoers' to 'Contributors' in previous entries.
  • dynamixel_workbench_toolbox/CMakeLists.txt
    • Removed find_package(rclcpp) (line 26).
    • Removed unused include_directories and set(dependencies_lib) (lines 35-42).
    • Replaced ament_target_dependencies with target_include_directories and target_link_libraries for managing dependencies and includes (lines 52-53 replaced by 43-51).
    • Updated install destination for include directories to include the project name (line 64).
    • Removed deprecated ament_export_include_directories, ament_export_dependencies(rclcpp), and ament_export_libraries (lines 74, 76, 77).
    • Added ament_export_targets for exporting the library target (line 75).
  • dynamixel_workbench_toolbox/library.properties
    • Updated version to 2.2.5.
    • Updated maintainer information.
  • dynamixel_workbench_toolbox/package.xml
    • Updated package version to 2.2.5.
    • Removed unused rclcpp dependency from <depend> tags (line 24).
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in issue comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist is currently in preview and may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments to provide feedback.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.


Version bumped, clean the build,
Dependencies now distilled.
CMake commands refined,
Future reviewers will find,
A codebase neatly tilled.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request primarily bumps the version to 2.2.5 and includes significant improvements to the CMake configuration for the dynamixel_workbench_toolbox package. The changes modernize the build process, remove an unused rclcpp dependency, and ensure consistency across package files. Overall, the updates are well-executed and enhance the maintainability and correctness of the build system. Great job on these modernizations!

Summary of Findings

  • CMake Modernization: The dynamixel_workbench_toolbox/CMakeLists.txt has been substantially updated to use modern CMake practices. This includes replacing include_directories(), ament_target_dependencies(), ament_export_include_directories(), and ament_export_libraries() with target_include_directories(), target_link_libraries(), and ament_export_targets(). This is a significant improvement for build correctness and maintainability within the ROS 2 ecosystem.
  • Dependency Cleanup: The unused rclcpp dependency has been correctly removed from dynamixel_workbench_toolbox. This change is consistently reflected in its CMakeLists.txt, package.xml, and documented in the CHANGELOG.rst.
  • Header Installation Path: The installation path for headers in dynamixel_workbench_toolbox has been updated to include/${PROJECT_NAME}. This namespacing is a ROS 2 best practice and is correctly paired with the $<INSTALL_INTERFACE:include/${PROJECT_NAME}> generator expression in target_include_directories.
  • Consistent Versioning and Changelog: Version numbers have been consistently updated to 2.2.5 across all relevant files (CHANGELOG.rst, package.xml, library.properties). The changelogs are clear and accurately reflect the modifications. Typo corrections in previous changelog entries were also included, which is a nice touch.

Merge Readiness

The changes in this pull request are well-implemented and improve the quality of the codebase, particularly the CMake updates. From my review, I see no critical or high-severity issues. The code appears to be in good shape for merging. As always, ensure any CI checks pass and consider additional reviews if required by your team's policies. I am not authorized to approve pull requests.

@robotpilot robotpilot merged commit cad022b into humble Jun 4, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bump Increase the version number to release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants